package petstore.persistence.impl;

import petstore.domain.Comment;

import java.util.List;

public interface CommentDao
{
    List<Comment> getCommentByUsernameAndItemname(String item_name);
    boolean findCommentByUsername(String username,String comment,String item_name);
    void insertCommentByUsername(String username,String comment,String published_time,String item_name);
    boolean deleteCommentByUsernameAndItemnameAndComment(String username,String comment,String item_name);
}
